package com.woniumall.service;

import com.github.pagehelper.PageInfo;
import com.woniumall.pojo.*;

import java.util.List;

/**
 * @auther linke
 * @create 2021-10-29 16:51
 * 地址处理服务类
 */
public interface OrderService {


    PayInfor createOrder(User user, List<Cart> mycart, int addressid);

    PageInfo<Order> findAllOrder(int currentPage,int userid);
    //查询订单基本信息
    Order findOrderById(int orderId);
    //查询订单相关书籍详情信息
    List<OrderItem> findOrderItemById(int orderId);

    int delOrderAndUodateGoodsNum(String orderno);
}
